Skip to content

feat(caches): support labels in cached content config#2303

Open
MukundaKatta wants to merge 2 commits intogoogleapis:mainfrom
MukundaKatta:codex/python-genai-cache-labels
Open

feat(caches): support labels in cached content config#2303
MukundaKatta wants to merge 2 commits intogoogleapis:mainfrom
MukundaKatta:codex/python-genai-cache-labels

Conversation

@MukundaKatta
Copy link
Copy Markdown

Summary

  • add labels to CreateCachedContentConfig and CachedContent
  • serialize cache labels on the Vertex cached-content create path
  • add focused tests for Vertex serialization and cached-content parsing

Testing

  • python3 -m py_compile google/genai/caches.py google/genai/types.py google/genai/tests/caches/test_cache_labels.py
  • python3 -m pytest google/genai/tests/caches/test_cache_labels.py

@Venkaiahbabuneelam Venkaiahbabuneelam self-assigned this Apr 20, 2026
@Venkaiahbabuneelam Venkaiahbabuneelam added the size:L Code changes between 40-100 lines label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L Code changes between 40-100 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants